package com.dragon.modules.yuegou.service.product;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dragon.common.web.PageRequest;
import com.dragon.modules.yuegou.entity.product.CoupMerchantCouponEntity;
import com.dragon.modules.yuegou.model.product.ReleasablePageListGrant;

/**
 * 商户商品券（商户购买优惠券，然后送给会员） 服务接口
 *
 * @author pbuilder generated
 * @date 2021-05-11 16:55:17
 * @version 2.0
 */
public interface CoupMerchantCouponService extends IService<CoupMerchantCouponEntity> {


    IPage<ReleasablePageListGrant> releasableList(PageRequest page, String merchantId);

    /***
     * 商户商品券库存变化
     * @param coupMerchantCouponId
     * @param i
     */
    void changeStock(String coupMerchantCouponId, int i);
}